package com.jianyun.jyzs.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liml on 17/7/25.
 *  检查工单更新
 */

public class WorkOrderUpdateResponse extends Response implements Serializable{

    @Override
    public String toString() {
        return "WorkOrderUpdateResponse{" +
                "deleted=" + deleted +
                ", message=" + message +
                ", result=" + result +
                ", vo=" + vo +
                '}';
    }

    private boolean deleted;
    private String message;
    private boolean result;
    private VoBeanX vo;

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public VoBeanX getVo() {
        return vo;
    }

    public void setVo(VoBeanX vo) {
        this.vo = vo;
    }

    public static class VoBeanX {
        @Override
        public String toString() {
            return "VoBeanX{" +
                    "attachmentVersion=" + attachmentVersion +
                    ", nodeVersion=" + nodeVersion +
                    ", nodes=" + nodes +
                    ", orderId=" + orderId +
                    ", version=" + version +
                    ", vo=" + vo +
                    ", attachments=" + attachments +
                    '}';
        }

        private int attachmentVersion;
        private int nodeVersion;
        private String nodes;
        private String orderId;
        private int version;
        private VoBean vo;
        private List<AttachmentsBean> attachments;

        public int getAttachmentVersion() {
            return attachmentVersion;
        }

        public void setAttachmentVersion(int attachmentVersion) {
            this.attachmentVersion = attachmentVersion;
        }

        public int getNodeVersion() {
            return nodeVersion;
        }

        public void setNodeVersion(int nodeVersion) {
            this.nodeVersion = nodeVersion;
        }

        public String getNodes() {
            return nodes;
        }

        public void setNodes(String nodes) {
            this.nodes = nodes;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public VoBean getVo() {
            return vo;
        }

        public void setVo(VoBean vo) {
            this.vo = vo;
        }

        public List<AttachmentsBean> getAttachments() {
            return attachments;
        }

        public void setAttachments(List<AttachmentsBean> attachments) {
            this.attachments = attachments;
        }

        public static class VoBean {
            @Override
            public String toString() {
                return "VoBean{" +
                        "po=" + po +
                        ", userIds=" + userIds +
                        '}';
            }

            private PoBean po;
            private List<String> userIds;

            public PoBean getPo() {
                return po;
            }

            public void setPo(PoBean po) {
                this.po = po;
            }

            public List<String> getUserIds() {
                return userIds;
            }

            public void setUserIds(List<String> userIds) {
                this.userIds = userIds;
            }

            public static class PoBean {
                @Override
                public String toString() {
                    return "CrmDetailBean{" +
                            "attachmentVersion=" + attachmentVersion +
                            ", createDate='" + createDate + '\'' +
                            ", createUserId='" + createUserId + '\'' +
                            ", createUserName='" + createUserName + '\'' +
                            ", emergencyState=" + emergencyState +
                            ", endDate='" + endDate + '\'' +
                            ", enterpriseCode='" + enterpriseCode + '\'' +
                            ", folderName='" + folderName + '\'' +
                            ", id='" + id + '\'' +
                            ", importantState=" + importantState +
                            ", nodeVersion=" + nodeVersion +
                            ", projectId=" + projectId +
                            ", projectName=" + projectName +
                            ", realEndDate=" + realEndDate +
                            ", responUser='" + responUser + '\'' +
                            ", responUserId='" + responUserId + '\'' +
                            ", titleName='" + titleName + '\'' +
                            ", version=" + version +
                            ", workState=" + workState +
                            ", workType=" + workType +
                            ", worknote='" + worknote + '\'' +
                            '}';
                }

                private int attachmentVersion;
                private String createDate;
                private String createUserId;
                private String createUserName;
                private String emergencyState;
                private String endDate;
                private String enterpriseCode;
                private String folderName;
                private String id;
                private String importantState;
                private int nodeVersion;
                private String projectId;
                private String projectName;
                private String realEndDate;
                private String responUser;
                private String responUserId;
                private String titleName;
                private int version;
                private int workState;
                private String workType;
                private String worknote;

                public int getAttachmentVersion() {
                    return attachmentVersion;
                }

                public void setAttachmentVersion(int attachmentVersion) {
                    this.attachmentVersion = attachmentVersion;
                }

                public String getCreateDate() {
                    return createDate;
                }

                public void setCreateDate(String createDate) {
                    this.createDate = createDate;
                }

                public String getCreateUserId() {
                    return createUserId;
                }

                public void setCreateUserId(String createUserId) {
                    this.createUserId = createUserId;
                }

                public String getCreateUserName() {
                    return createUserName;
                }

                public void setCreateUserName(String createUserName) {
                    this.createUserName = createUserName;
                }

                public String getEmergencyState() {
                    return emergencyState;
                }

                public void setEmergencyState(String emergencyState) {
                    this.emergencyState = emergencyState;
                }

                public String getEndDate() {
                    return endDate;
                }

                public void setEndDate(String endDate) {
                    this.endDate = endDate;
                }

                public String getEnterpriseCode() {
                    return enterpriseCode;
                }

                public void setEnterpriseCode(String enterpriseCode) {
                    this.enterpriseCode = enterpriseCode;
                }

                public String getFolderName() {
                    return folderName;
                }

                public void setFolderName(String folderName) {
                    this.folderName = folderName;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getImportantState() {
                    return importantState;
                }

                public void setImportantState(String importantState) {
                    this.importantState = importantState;
                }

                public int getNodeVersion() {
                    return nodeVersion;
                }

                public void setNodeVersion(int nodeVersion) {
                    this.nodeVersion = nodeVersion;
                }

                public String getProjectId() {
                    return projectId;
                }

                public void setProjectId(String projectId) {
                    this.projectId = projectId;
                }

                public String getProjectName() {
                    return projectName;
                }

                public void setProjectName(String projectName) {
                    this.projectName = projectName;
                }

                public String getRealEndDate() {
                    return realEndDate;
                }

                public void setRealEndDate(String realEndDate) {
                    this.realEndDate = realEndDate;
                }

                public String getResponUser() {
                    return responUser;
                }

                public void setResponUser(String responUser) {
                    this.responUser = responUser;
                }

                public String getResponUserId() {
                    return responUserId;
                }

                public void setResponUserId(String responUserId) {
                    this.responUserId = responUserId;
                }

                public String getTitleName() {
                    return titleName;
                }

                public void setTitleName(String titleName) {
                    this.titleName = titleName;
                }

                public int getVersion() {
                    return version;
                }

                public void setVersion(int version) {
                    this.version = version;
                }

                public int getWorkState() {
                    return workState;
                }

                public void setWorkState(int workState) {
                    this.workState = workState;
                }

                public String getWorkType() {
                    return workType;
                }

                public void setWorkType(String workType) {
                    this.workType = workType;
                }

                public String getWorknote() {
                    return worknote;
                }

                public void setWorknote(String worknote) {
                    this.worknote = worknote;
                }
            }
        }

        //服务器返回的附件列表
        public static class AttachmentsBean {

            @Override
            public String toString() {
                return "AttachmentsBean{" +
                        "filePath='" + filePath + '\'' +
                        ", id='" + id + '\'' +
                        ", isFile=" + isFile +
                        ", isPhon=" + isPhon +
                        ", isPhoto=" + isPhoto +
                        ", isVideo=" + isVideo +
                        ", orderId='" + orderId + '\'' +
                        ", phonDuration=" + phonDuration +
                        ", phonPath='" + phonPath + '\'' +
                        ", photoPath='" + photoPath + '\'' +
                        ", userId='" + userId + '\'' +
                        ", videoDuration='" + videoDuration + '\'' +
                        ", videoPath='" + videoPath + '\'' +
                        ", local=" + local +
                        ", qualityId='" + qualityId + '\'' +
                        ", safetyId='" + safetyId + '\'' +
                        '}';
            }

            private String filePath;
            private String id;
            private int isFile;
            private int isPhon;
            private int isPhoto;
            private int isVideo;
            private String orderId;
            private int phonDuration;
            private String phonPath;
            private String photoPath;
            private String userId;
            private String videoDuration;
            private String videoPath;
            private boolean local;
            private String qualityId;
            private String safetyId;

            public String getSafetyId() {
                return safetyId;
            }

            public void setSafetyId(String safetyId) {
                this.safetyId = safetyId;
            }

            public String getQualityId() {
                return qualityId;
            }

            public void setQualityId(String qualityId) {
                this.qualityId = qualityId;
            }

            public boolean isLocal() {
                return local;
            }

            public void setLocal(boolean local) {
                this.local = local;
            }

            public String getFilePath() {
                return filePath;
            }

            public void setFilePath(String filePath) {
                this.filePath = filePath;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getIsFile() {
                return isFile;
            }

            public void setIsFile(int isFile) {
                this.isFile = isFile;
            }

            public int getIsPhon() {
                return isPhon;
            }

            public void setIsPhon(int isPhon) {
                this.isPhon = isPhon;
            }

            public int getIsPhoto() {
                return isPhoto;
            }

            public void setIsPhoto(int isPhoto) {
                this.isPhoto = isPhoto;
            }

            public int getIsVideo() {
                return isVideo;
            }

            public void setIsVideo(int isVideo) {
                this.isVideo = isVideo;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public int getPhonDuration() {
                return phonDuration;
            }

            public void setPhonDuration(int phonDuration) {
                this.phonDuration = phonDuration;
            }

            public String getPhonPath() {
                return phonPath;
            }

            public void setPhonPath(String phonPath) {
                this.phonPath = phonPath;
            }

            public String getPhotoPath() {
                return photoPath;
            }

            public void setPhotoPath(String photoPath) {
                this.photoPath = photoPath;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getVideoDuration() {
                return videoDuration;
            }

            public void setVideoDuration(String videoDuration) {
                this.videoDuration = videoDuration;
            }

            public String getVideoPath() {
                return videoPath;
            }

            public void setVideoPath(String videoPath) {
                this.videoPath = videoPath;
            }
        }
    }
}
